#ifndef TEST_PY_RATING_SCORE_POLICY_H
#define TEST_PY_RATING_SCORE_POLICY_H
#include "policy_base.h"
#include "macros.h"
#include "typedef.h"
#include "graph.h"

//顶点对打分策略
namespace mcgpp{
  //重边打分函数
  class HeavyEdgeScore final : public meta::PolicyBase {
  public:
    MCGPP_ATTRIBUTE_ALWAYS_INLINE static inline RatingType score(const ds::GenericGraph& g,
                                                                   const IDType e) {
      return static_cast<RatingType>(g._edges[e].weight());
    }
  };
  //参照n-Level Graph Partitioning，额外考虑顶点对的质量


}
#endif //TEST_PY_RATING_SCORE_POLICY_H
